using UnityEngine;

public class muzzleflash : MonoBehaviour
{
	private Transform m_transform;

	private void Start()
	{
		m_transform = base.transform;
	}

	private void Update()
	{
		if (Time.frameCount % 2 != 0)
		{
			m_transform.localEulerAngles = Vector3.forward * UnityEngine.Random.Range(10f, 90f);
			m_transform.localScale = Vector3.one * UnityEngine.Random.Range(0.5f, 1.2f);
		}
	}
}
